/* 样式重置reset */

/*清除浮动*/
.clearfix:after{
  content: '';
  display: block;
  clear: both;
}
*{
  box-sizing: border-box;
}
body, ul, h1, h2, h3, h4, h5, h6, p, dl, div, dd, hr, fieldset {
  margin: 0;
}

ul, input, textarea, button, option, div, ol, fieldset, legend {
  padding: 0;
}

html {
  font-size: 0px;
  font-size: 24px;
  color: #282828;
  height: 100%;
}

body,
body button,
input,
textarea,
.iconfont {
  font-family: "Microsoft YaHei", "lucida grande", "lucida sans unicode", lucida, helvetica, "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif !important;
}

.iconfont:before {
  font-family: "iconfont" !important;
}

ul {
  list-style: none;
}

img, button {
  border-style: none;
}

a, input, button {
  text-decoration: none;
  outline: none;
}

/* ios input样式清除 */
input,
textarea {
  border: 0;
  outline: none;
  -webkit-appearance: none;
}

/* number样式清除 */
input[type=number] {
  -moz-appearance:textfield;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 上下拉动滚动条时卡顿、慢 */
body {
  -webkit-overflow-scrolling: touch;
}
// 表单背景色延迟加载
//input:-webkit-autofill , textarea:-webkit-autofill, select:-webkit-autofill {
////背景色透明  生效时长  过渡效果  启用时延迟的时间
//transition: background-color 500s ease-in-out 0s;
//
//}

/* ios和android下触摸元素时出现半透明灰色遮罩 */
a {
  -webkit-tap-highlight-color:rgba(255,255,255,0);
}

input::-webkit-input-placeholder{
    color:#b1a78c;
}
input::-moz-placeholder{   /* Mozilla Firefox 19+ */
    color:#b1a78c;
}
input:-moz-placeholder{    /* Mozilla Firefox 4 to 18 */
    color:#b1a78c;
}
input:-ms-input-placeholder{  /* Internet Explorer 10-11 */ 
    color:#b1a78c;
}